package com.xt.service;

import com.xt.bean.Module;
import org.springframework.data.domain.Page;

/**
 * Created by XT on 2018/5/3.
 */
public interface ModuleService {

    void deleteModule(String moduleid);

    void saveOrUpdateModule(Module module);

    Module getModuleById(String id);

    Page<Module> getAllModuleListByPage(int count, int pageNo, String sortDirection, String... sortField);

}
